package com.zheng.wc.dao.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.zheng.common.base.BaseEntity;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author likun
 * @since 2018-04-23
 */
@TableName("wc_notice")
public class WcNotice extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String title;
    private String content;
    private Integer type;
    private Integer status;
    private String files;
    private String remark;
    private Integer state;
    @TableField("send_time")
    private Date sendTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getFiles() {
        return files;
    }

    public void setFiles(String files) {
        this.files = files;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    @Override
    protected Serializable pkVal() {
        return id;
    }

    @Override
    public String toString() {
        return "WcNotice{" +
                "id=" + id +
                ", title=" + title +
                ", content=" + content +
                ", type=" + type +
                ", status=" + status +
                ", files=" + files +
                ", remark=" + remark +
                "}";
    }
}
